##title=Returns the list of EntitySource objects in the Portal
##parameters=

#grab the KE object catalog for the portal
catalog = context.knowledgeengine_genericobjectcatalogservice

#return the EntitySource objects for each of the cataloged objects that belong to the 'EntitySource' family
return [catalogObject.getObject() for catalogObject in catalog(getClassFamilyName='EntitySource')]
